TChannels : user definition
typedef struct {
byte channel0 : 1; /* Channel 0 bit */
byte channel1 : 1; /* Channel 1 bit */
byte channel2 : 1; /* Channel 2 bit */
byte channel3 : 1; /* Channel 3 bit */
byte channel4 : 1; /* channel 4 bit */
byte channel5 : 1; /* channel 5 bit */
} TChannels;
Structure contains bit informations for 6 channels, one bit for each channel.
TChannelPairs : user definition
typedef struct {
byte pair0 : 1; /* PWM pair 0 */
byte pair1 : 1; /* PWM pair 1 */
byte pair2 : 1; /* PWM pair 2 */
} TChannelPairs;
3 channel pairs represented by bit in structure.